package cn.ctodb.notebook.wxapp.repository;

import cn.ctodb.notebook.wxapp.domain.Message;
import org.springframework.stereotype.Repository;

import org.springframework.data.jpa.repository.*;

import java.util.List;


/**
 * Spring Data JPA repository for the Message entity.
 */
@SuppressWarnings("unused")
@Repository
public interface MessageRepository extends JpaRepository<Message, Long> {

    @Override
    @EntityGraph(attributePaths = "pics")
    List<Message> findAll();
}
